Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate functions: surrival --> survival #100

Merged
merged 1 commit into from
Dec 11, 2024
Merged

Deprecate functions: surrival --> survival #100

merged 1 commit into from
Dec 11, 2024

Conversation

fhagemann
Copy link
Contributor

Let's remove a legacy typo that has been used in quite some places in LegendSpecFits:
some methods were named surrival instead of survival. This PR deprecates the method with surrival in their name and renames them to survival.

Calling the old methods should still work (and the functions are still exported), but they should be removed with the next breaking release.

@fhagemann fhagemann added the breaking Breaking change label Dec 11, 2024
@fhagemann fhagemann requested a review from theHenks December 11, 2024 14:45
@theHenks
Copy link
Collaborator

I hereby apologize for my poor English skills....

Copy link

codecov bot commented Dec 11, 2024

Codecov Report

Attention: Patch coverage is 0% with 10 lines in your changes missing coverage. Please review.

Project coverage is 21.33%. Comparing base (6ef5064) to head (b7e469a).
Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
src/aoe_cut.jl 0.00% 5 Missing ⚠️
src/qc.jl 0.00% 3 Missing ⚠️
ext/LegendSpecFitsRecipesBaseExt.jl 0.00% 1 Missing ⚠️
src/aoe_filter_optimization.jl 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #100   +/-   ##
=======================================
  Coverage   21.33%   21.33%           
=======================================
  Files          36       36           
  Lines        3305     3305           
=======================================
  Hits          705      705           
  Misses       2600     2600           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@theHenks theHenks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect, thanks @fhagemann .
We should do the same in legend-julia-dataflow, so maybe let's at least open an issue there.

@fhagemann
Copy link
Contributor Author

Don't worry. Now, that a lot of changes made it onto main, it seems like a good time to do it now.
(I wouldn't be surprised if the next release of LegendSpecFits is a breaking release).

@fhagemann fhagemann self-assigned this Dec 11, 2024
@fhagemann fhagemann requested a review from oschulz December 11, 2024 14:54
@fhagemann fhagemann merged commit 8133691 into main Dec 11, 2024
9 of 10 checks passed
@fhagemann fhagemann deleted the deprecate branch December 11, 2024 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking Breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants